package com.db.springsource.aspect;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

@Aspect
public class LoggingAspect {
    @Before("execution(* com.db.springsource.operation.Operation.*(..))")
    public void logMethodExecution(JoinPoint joinPoint) {
        System.out.println("AOP Logging -> " + joinPoint.toShortString());
    }
}
